package com.ruoyi.bbsAdmin.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务订单对象 task_order
 * 
 * @author ruoyi
 * @date 2022-08-10
 */
public class TaskOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private String orderId;

    /** 发布人ID */
    @Excel(name = "发布人ID")
    private String publisherId;

    /** 订单种类 */
    @Excel(name = "订单种类")
    private Integer orderKind;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer orderState;

    /** 订单内容 */
    @Excel(name = "订单内容")
    private String orderContent;

    /** 订单图片 */
    @Excel(name = "订单图片")
    private String orderImg;

    /** 订单起点 */
    @Excel(name = "订单起点")
    private String orderStartPlace;

    /** 订单终点 */
    @Excel(name = "订单终点")
    private String orderEndPlace;

    /** 接取人专业要求 */
    @Excel(name = "接取人专业要求")
    private String applicantMajor;

    /** 接取人学历要求 */
    @Excel(name = "接取人学历要求")
    private String applicantQualification;

    /** 备注 */
    @Excel(name = "备注")
    private String orderRemark;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderCost;

    /** 订单截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDeadline;

    /** 订单所属学校 */
    @Excel(name = "订单所属学校")
    private Integer schoolId;

    /** 申诉申请理由 */
    @Excel(name = "申诉申请理由")
    private String appealReason;

    /** 申诉申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申诉申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appealTime;

    /** 订单启动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单启动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 订单确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单确认时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmTime;

    /** 订单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 预留字段1 */
    private String param1;

    /** 预留字段2 */
    private String param2;

    /** 预留字段3 */
    private String param3;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setPublisherId(String publisherId) 
    {
        this.publisherId = publisherId;
    }

    public String getPublisherId() 
    {
        return publisherId;
    }
    public void setOrderKind(Integer orderKind) 
    {
        this.orderKind = orderKind;
    }

    public Integer getOrderKind() 
    {
        return orderKind;
    }
    public void setOrderState(Integer orderState) 
    {
        this.orderState = orderState;
    }

    public Integer getOrderState() 
    {
        return orderState;
    }
    public void setOrderContent(String orderContent) 
    {
        this.orderContent = orderContent;
    }

    public String getOrderContent() 
    {
        return orderContent;
    }
    public void setOrderImg(String orderImg) 
    {
        this.orderImg = orderImg;
    }

    public String getOrderImg() 
    {
        return orderImg;
    }
    public void setOrderStartPlace(String orderStartPlace) 
    {
        this.orderStartPlace = orderStartPlace;
    }

    public String getOrderStartPlace() 
    {
        return orderStartPlace;
    }
    public void setOrderEndPlace(String orderEndPlace) 
    {
        this.orderEndPlace = orderEndPlace;
    }

    public String getOrderEndPlace() 
    {
        return orderEndPlace;
    }
    public void setApplicantMajor(String applicantMajor) 
    {
        this.applicantMajor = applicantMajor;
    }

    public String getApplicantMajor() 
    {
        return applicantMajor;
    }
    public void setApplicantQualification(String applicantQualification) 
    {
        this.applicantQualification = applicantQualification;
    }

    public String getApplicantQualification() 
    {
        return applicantQualification;
    }
    public void setOrderRemark(String orderRemark) 
    {
        this.orderRemark = orderRemark;
    }

    public String getOrderRemark() 
    {
        return orderRemark;
    }
    public void setOrderCost(BigDecimal orderCost) 
    {
        this.orderCost = orderCost;
    }

    public BigDecimal getOrderCost() 
    {
        return orderCost;
    }
    public void setOrderDeadline(Date orderDeadline) 
    {
        this.orderDeadline = orderDeadline;
    }

    public Date getOrderDeadline() 
    {
        return orderDeadline;
    }
    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId() 
    {
        return schoolId;
    }
    public void setAppealReason(String appealReason) 
    {
        this.appealReason = appealReason;
    }

    public String getAppealReason() 
    {
        return appealReason;
    }
    public void setAppealTime(Date appealTime) 
    {
        this.appealTime = appealTime;
    }

    public Date getAppealTime() 
    {
        return appealTime;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setConfirmTime(Date confirmTime) 
    {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime() 
    {
        return confirmTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }
    public void setParam2(String param2) 
    {
        this.param2 = param2;
    }

    public String getParam2() 
    {
        return param2;
    }
    public void setParam3(String param3) 
    {
        this.param3 = param3;
    }

    public String getParam3() 
    {
        return param3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("publisherId", getPublisherId())
            .append("orderKind", getOrderKind())
            .append("orderState", getOrderState())
            .append("orderContent", getOrderContent())
            .append("orderImg", getOrderImg())
            .append("orderStartPlace", getOrderStartPlace())
            .append("orderEndPlace", getOrderEndPlace())
            .append("applicantMajor", getApplicantMajor())
            .append("applicantQualification", getApplicantQualification())
            .append("orderRemark", getOrderRemark())
            .append("orderCost", getOrderCost())
            .append("orderDeadline", getOrderDeadline())
            .append("schoolId", getSchoolId())
            .append("appealReason", getAppealReason())
            .append("appealTime", getAppealTime())
            .append("startTime", getStartTime())
            .append("confirmTime", getConfirmTime())
            .append("finishTime", getFinishTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("param1", getParam1())
            .append("param2", getParam2())
            .append("param3", getParam3())
            .toString();
    }
}
